package edu.sctu.zhuyingzhi.month201505.day20150504.interfacePra;


/**
 * Created by user13 on 2015/5/4.
 */
public class Jack implements Speed,Defense,Intelligence,Attack{

    @Override
    public void attack() {
     int attack;
        attack=100;
        System.out.println("attack="+attack);
    }

    @Override
    public void defense1() {
        int defense1;
        defense1=200;
        System.out.println("defense="+defense1);
    }

    public void defense() {
        int defense;
        defense=100;
        System.out.println("defense="+defense);
    }

    @Override
    public void intelligence() {
        int IQ;
        IQ=120;
        System.out.println("IQ="+IQ);
    }

    @Override
    public void speed() {
        int speed;
        speed=5;
        System.out.println(speed+"m/s");
    }


}
